home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
X User Tools
/
X User Tools (O'Reilly and Associates)(1994).ISO
/
sun4c
/
archive
/
tcltk.z
/
tcltk
/
man
/
catn
/
lbSingSel.n
< prev
next >
Wrap
Text File
|
1994-09-20
|
1KB
|
67 lines
tk_listboxSingleSelect(n) Tk Commands
_________________________________________________________________
NAME
tk_listboxSingleSelect - Allow only one selected element in
listbox(es)
SYNOPSIS
tk_listboxSingleSelect _a_r_g ?_a_r_g _a_r_g ...?
_________________________________________________________________
DESCRIPTION
This command is a Tcl procedure provided as part of the Tk
script library. It takes as arguments the path names of one
or more listbox widgets, or the value Listbox. For each
named widget, tk_listboxSingleSelect modifies the bindings
of the widget so that only a single element may be selected
at a time (the normal configuration allows multiple elements
to be selected). If the keyword Listbox is among the _w_i_n_d_o_w
arguments, then the class bindings for listboxes are changed
so that all listboxes have the one-selection-at-a-time
behavior.
KEYWORDS
listbox, selection
Tk 1